package com.pug.product.po;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author RenGaoshuai
 * @date 2023/5/16 14:22
 * @description
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "product")
public class ProductPO extends BasePO {

    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 产品id
     */
    @ApiModelProperty(name = "产品id")
    private Long productId;

    /**
     * 公司编号
     */
    @ApiModelProperty(name = "公司编号")
    private Long companyCode;


    @ApiModelProperty(name = "上架状态0下架1上架")
    public Integer publishStatus;

    /**
     * 产品类型
     */
    @ApiModelProperty(name = "产品类型")
    private Integer productType;

    /**
     * 产品名称
     */
    @ApiModelProperty(name = "产品名称")
    private String productName;

    /**
     * 产品全称
     */
    @ApiModelProperty(name = "产品全称")
    private String productFullName;

    /**
     * 产品协会备案编号
     */
    @ApiModelProperty(name = "产品协会备案编号")
    private String fundRecordNumber;

//    @ApiModelProperty(name = "上架状态0下架1上架")
//    public Integer publishStatus;

    /**
     * 是否是子产品0否1是
     */
    @ApiModelProperty(name = "是否是子产品0否1是")
    private Integer fundLevel;

    /**
     * 母基金
     */
    @ApiModelProperty(name = "母基金")
    private Long parentProductId;

    @ApiModelProperty(value = "商品单价")
    private BigDecimal price;
}
